﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SendNotificationConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("[START PROGRAM]");

            AnacleWebService.AnacleWebService ws = new AnacleWebService.AnacleWebService();

            if (args.Length == 2)
            {
                ws.SendNotification("MyFormdId",
                    args[0],
                    args[1], 100);
            }
            else
            {
                ws.SendNotification("MyFormdId",
                    "9d474a4f-b2fe-422f-a18b-4aa01392d67a",
                    "8fd868d7-464b-425c-a2d8-634aac995a43", 100);
            }

            Console.WriteLine("[END PROGRAM]");
            Console.ReadLine();
        }
    }
}
